exports.filterLogin = function(req, res, next) {
    console.log('Request URL:', req.originalUrl);
    if(req.session.merchant){
        next();
    }else{
        res.json({msg:'ERROR'})
    }
};